<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the id=main div and all content
 * after. Calls sidebar-footer.php for bottom widgets.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */
?>
</div><!-- #main -->

<?php if (function_exists("dynamic_sidebar") && is_active_sidebar('footer-links-widget-area')) : ?>
    <div class="footer-widget-wrapper">
        <ul class="clearfix footer-widget-ul">
            <?php dynamic_sidebar('footer-links-widget-area'); ?>
        </ul>
    </div>
<?php endif; ?>

</div><!-- #wrapper -->
<!--<div class="full-wrapper">-->
    <div class="">
        <div class="content-wrapper white banner-green" role="contentinfo" style="padding: 20px 20px;">
            <div id="footer" >
                <div class="left" id="footer-left">
    <!--                <img width="100" src="http://localhost:8080/org/wp-content/themes/org/images/bhutan.gif" alt="" class="left" />-->
                    <div class="block">
                        <table cellspacing="0" class="latest_info">
                            <?php 
                            $bhutanese_settings = get_option(BHUTANESE_REFUGEES_OPTION_NAME);
                            if(isset($bhutanese_settings["footer_text"]) && $bhutanese_settings["footer_text"]!=""){
                            ?>
                            <tr>
                                <td colspan="2">
                                    <?php echo $bhutanese_settings["footer_text"];?>
                                </td>
                            </tr>
                            <?php }?>
                            <?php /*?>
<!--                            <tr>
                                <td colspan="2">
                                    &copy; <?php echo date('Y'); ?> <?php bloginfo('name'); ?>.
                                    Dr D.N.S.Dhakal, Vaisnava Devasthan, Chabilal Marg, Telebari, Dhaijan-6, Jhapa, Nepal, Phone: 9841551366.
                                </td>
                            </tr>-->
                            <tr>
                                <td style="width: 100px;">Last Updated:</td>
                                <td><b><?php echo latest_updated_site();?>.</b></td>
                            </tr>
                            <?php 
                    global $HitCounter;
                    if(is_object($HitCounter)){?>
                            <tr>
                                <td>
                                   Total Hit: 
                                </td>
                                <td>
                                    <?php 
                        $HitCounter->display();
                    ?>
                                </td>
                            </tr>
                            <?php }?>
                            <?php */?>
                        </table>
                    </div>
                </div>

                <div class="right" id="footer-right">
                    <!--                    <a href="#header" class="right" style="padding-left: 5px;">Page Top &uarr;</a>-->
                    <?php bhutanese_refugees_footer_links(BHUTANESE_REFUGEES_FOOTER_MENU_NAME); ?>
                    <div class="clear"></div>

                </div>

                <div class="clear"></div>
            </div><!-- #footer -->
        </div>
    </div>
</div>

<?php wp_footer();?>
</body>
</html>